package baizhi.entity;

import java.io.Serializable;

public class Student implements Serializable {
    private Integer studentId;
    private String name;
    private Integer age;
    private Double score;
    private Classes classes;

    public Student() {
    }

    public Student(Integer studentId, String name, Integer age, Double score, Classes classes) {
        this.studentId = studentId;
        this.name = name;
        this.age = age;
        this.score = score;
        this.classes = classes;
    }

    public Integer getStudentId() {
        return studentId;
    }

    public void setStudentId(Integer studentId) {
        this.studentId = studentId;
    }

    public String getName() {
        return name;
    }

    public void setName(String name) {
        this.name = name;
    }

    public Integer getAge() {
        return age;
    }

    public void setAge(Integer age) {
        this.age = age;
    }

    public Double getScore() {
        return score;
    }

    public void setScore(Double score) {
        this.score = score;
    }

    public Classes getClasses() {
        return classes;
    }

    public void setClasses(Classes classes) {
        this.classes = classes;
    }

    @Override
    public String toString() {
        return "Student{" +
                "studentId=" + studentId +
                ", name='" + name + '\'' +
                ", age=" + age +
                ", score=" + score +
                ", classes=" + classes +
                '}';
    }
}
